package cn.hust.springboot.service;

import cn.hust.springboot.bean.Position;

import java.util.List;

public interface IPositionService {


    List<Position> getAllPositions();

    int addPosition(Position position);

    Position getPositionById(Integer positionId);

    int updatePosition(Position position);

    int deletePositionById(Integer id);

    List<Position> query(String name);
}
